package com.bonc.excel.utils;

import com.bonc.excel.dto.response.ExcelResponse;

import java.util.HashMap;
import java.util.Map;

/**
 * @Author: wujing
 * @Date: 2024/9/4 15:01
 * @Description: TODO
 **/
public class CacheUtils {

    public static final String KEY = "system";

    private static Map<String, ExcelResponse>  cacheMap = new HashMap<>();

    public static ExcelResponse getCache(){
        return cacheMap.get(KEY);
    }

    public static void setCache(ExcelResponse param){
        cacheMap.put(KEY,param);
    }
}
